import Vue from 'vue'
// 按需导入
import {
  Loading,
  Icon,
  Message,
  Button,
  Dialog
} from 'element-ui'
Vue.use(Loading)
Vue.use(Icon)
Vue.use(Button)
Vue.use(Dialog)
Vue.prototype.$message = Message
